package com.sxj.corejava.code07_面向对象.封装;

/**
 * @author 石小俊
 * @date 2025年01月06日
 */
public class Test03 {

    public static void main(String[] args) {
        Poker poker = new Poker();
        Card[] cards = poker.getCards();
        for (Card card : cards) {
            System.out.print(card.getColor() + card.getNum() + "\t");
        }
        System.out.println("\n*************************开始洗牌*************************");
        poker.shuffle();
        cards = poker.getCards();
        for (Card card : cards) {
            System.out.print(card.getColor() + card.getNum() + "\t");
        }
    }

}
